package org.kzwl.book.controller.web;

import io.swagger.annotations.Api;
import org.kzwl.comm.pojo.ResponseData;
import org.kzwl.comm.pojo.dto.CuVenuesUserDTO;
import org.kzwl.service.web.CuVenuesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/cu-venues-user")
public class VenuesUserController {


    @Autowired
    CuVenuesService cuVenuesService;


    @PostMapping("/queryVenuesUser")
    public ResponseData<List<CuVenuesUserDTO>> queryVenuesUser(@RequestBody Integer cuVenuesId)
    {
        return cuVenuesService.queryVenuesUser(cuVenuesId);
    }
}
